#pragma once
#include <string>
#include <functional>
namespace NBGUI
{
	union info
	{
		int i;
		float f;
		char* str;
	};

	struct Handler
	{ 
		std::string name;
		std::string funcName;
		std::function< void( std::vector<info>& ) > func;
		std::vector<info> parameters;
		int eventType;
		char handleType;//is a callback or just UI function call
		Handler(std::string n, std::string fn ):
			name(n),funcName(fn),handleType(0)
		{}

		Handler()
		{}

		
	};
}